FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER zhl

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /spring-cloud-service-a

WORKDIR /spring-cloud-service-a

EXPOSE 8762

ADD ./spring-cloud-service-a/target/spring-cloud-service-a.jar ./

CMD java -Djava.security.egd=file:/dev/./urandom -jar spring-cloud-service-a.jar
